package com.itheima.commons.model.vo;

import com.itheima.commons.model.domain.Character;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CharacterVo implements Serializable {

    private String conclusion;//鉴定结果

    private String cover;//鉴定图片

    private List<?> dimensions = Collections.emptyList();
    private List<?> similarYou = Collections.emptyList();

    public CharacterVo(Character character, List list1, List list2) {
        this.conclusion = character.getConclusion();
        this.cover = character.getCover();
        this.dimensions = list1;
        this.similarYou = list2;
    }

}